package com.bookcycle.model;

public class User {
	private int id;
	private String phonenum;
	private String username;
	private String password;
	private String school;
	public User() {
	}

	public User(int id, String phonenum, String username, String password,String school) {
		super();
		this.id = id;
		this.phonenum = phonenum;
		this.username = username;
		this.password = password;
		this.school=school;
	}
	
	public User(String phonenum,String username,String password,String school){
		this.phonenum=phonenum;
		this.username=username;
		this.password=password;
		this.school=school;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getPhonenum() {
		return phonenum;
	}

	public void setPhonenum(String phonenum) {
		this.phonenum = phonenum;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSchool() {
		return school;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", phonenum=" + phonenum + ", username=" + username + ", password=" + password
				+ ", school=" + school + "]";
	}

	
}
